package com.android.server.jdo;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Text;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class ConfJdo {
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long id;
	
	@Persistent
	private String version;
	
	@Persistent
	private Long group ;
	
	@Persistent
	private Text conf;

	public ConfJdo(String version, Long group, Text conf) {
		super();
		this.id = group;
		this.version = version;
		this.group = group;
		this.conf = conf;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public Long getGroup() {
		return group;
	}

	public void setGroup(Long group) {
		this.group = group;
	}

	public Text getConf() {
		return conf;
	}

	public void setConf(Text conf) {
		this.conf = conf;
	}
	
}
